package com.modules.util;

import java.io.File;
import java.util.LinkedHashMap;
import java.util.Map;

public class Constants {
	
	public static final String ENCODING = "UTF-8";
	public static final String MESSCATCMS = "messcatcms";

	/**
	 * ϵͳ����
	 */
	public static final Map<String, String> SYSTEM_TYPES = new LinkedHashMap<String, String>();
	static {
		SYSTEM_TYPES.put(MESSCATCMS, "messcatcmsͳ");
	}

	public static String getSysName(String sysType) {
		return SYSTEM_TYPES.get(sysType);
	}

	
	/**
	 * �ϴ���·����
	 */
	public static final String UPLOAD_PATH = "upload";
	public static final String UPLOAD_FILE = "/file";
	public static final String UPLOAD_FLASH = "/flash";
	public static final String UPLOAD_IMAGE = "/image";
	public static final String UPLOAD_MEDIA = "/media";
	/**
	 * 
	 */
	public static final String TPL_DEF_SOLUTION = "default";
	/**
	 * 
	 */
	public static final String TPL_SUFFIX = ".html";
	
	/**
	 * 
	 */
	public static final char SPT = '/';
	/**
	 * 
	 */
	public static final char FILE_SPT = File.separatorChar;
	/**
	 * 
	 */
	public static final String REDIRECT_DOMAIN = "redirectDomain";
	/**
	 * 
	 */
	public static final String WEBSITE_NOT_FOUND = "websiteNotFound";
	
	
	
	/**
	 * 操作成功完成
	 */
	public static final String SUCCESS = "success";
	
	/**
	 * 输入错误
	 */
	public static final String INPUT = "input";
	
	public static final String DO_SUCCESS = "do_success";
}
